package com.vercon.otamirror.mode;

import java.io.Serializable;
import java.util.List;

/**
 * Created by csh on 2021/4/15
 */
public class UpdateMode implements Serializable {

    /**
     * version : v2.2.0
     * apk_url : http://fileservice.i-mrmax.com/www/static/theme/121/3/1618456825987.png
     * desc : 123123
     * releaseType : 1
     * model : K10
     */

    private String version;//软件版本
    private String apk_url;//下载地址
    private String desc;//更新说明
    private String releaseType;//1强制更新，-1非强制
    private String model;//型号
    private String deviceName;
    private String afterSale;// 1：售后更新，-1：正常更新
    private long time;//推送时间
    public List<String> shieldSysVer;
    public List<String> shieldFirVer;

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getAfterSale() {
        return afterSale;
    }

    public void setAfterSale(String afterSale) {
        this.afterSale = afterSale;
    }
    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getApk_url() {
        return apk_url;
    }

    public void setApk_url(String apk_url) {
        this.apk_url = apk_url;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getReleaseType() {
        return releaseType;
    }

    public void setReleaseType(String releaseType) {
        this.releaseType = releaseType;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    @Override
    public String toString() {
        return "UpdateMode{" +
                "version='" + version + '\'' +
                ", apk_url='" + apk_url + '\'' +
                ", desc='" + desc + '\'' +
                ", releaseType='" + releaseType + '\'' +
                ", model='" + model + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", afterSale='" + afterSale + '\'' +
                ", time=" + time +
                ", shieldSysVer=" + shieldSysVer +
                ", shieldFirVer=" + shieldFirVer +
                '}';
    }
}